package pers.vic.system.system.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import pers.vic.base.annoation.MybatisMapper;
import pers.vic.base.bo.system.SysMenu;
import pers.vic.base.mapper.BaseMapper;

/**
 * 菜单表
 * 
 * @author VIC
 */
@MybatisMapper
public interface SysMenuMapper extends BaseMapper<SysMenu> {

	List<SysMenu> authorityTree(@Param("roleId")int roleId);

	List<Integer> getRoleMenuIds(@Param("roleId")int roleId);

	List<SysMenu> getUserMenus(@Param("userId")int userId);
	
}
